package com.example.myxm.module;

/**
 * 支出记录实体 Bean
 */
public class ExpenseBean {
    private int id;
    private int userId;
    private double amount;
    private String date;
    private String type;
    private String payee;
    private String note;

    public ExpenseBean() {
    }

    public ExpenseBean(int id,
                       int userId,
                       double amount,
                       String date,
                       String type,
                       String payee,
                       String note) {
        this.id = id;
        this.userId = userId;
        this.amount = amount;
        this.date = date;
        this.type = type;
        this.payee = payee;
        this.note = note;
    }

    // Getter & Setter

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }


    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }


    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


    public String getPayee() {
        return payee;
    }

    public void setPayee(String payee) {
        this.payee = payee;
    }


    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
